<html>
    <head>
        <meta name="layout" content="main-widger" />
        <title>WebAlbum : Show Person</title>
    </head>
    <body>
       <h1>Show Person</h1>
       <g:render template="/shared/creators" />
       <g:render template="/shared/messages" />
       <div class="dialog">
       <hr>
       <p>Name: ${person.name}</p>
       <p>Motto:${person.motto}</p>
       <p>Albums:${person.albumsCount}</p>
       <p>Pictures:${person.picturesCount}</p>
       <p>Date Created:<g:formatDate format="dd MMM yyyy HH:mm:ss" date="${person.dateCreated}"/></p>
       <p>Last Updated:<g:formatDate format="dd MMM yyyy HH:mm:ss" date="${person.lastUpdated}"/></p>
       <wa:ifSameUser id="${person.id}">
	   <p class="menuButtons">
		   <span class="menuButton"><g:link class="edit" action="edit" id="${person.id}">Edit</g:link></span>
	   </p>
       </wa:ifSameUser>
     <hr>
    </body>
</html>
